package com.waiting.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author waiting
 * @since 2025-08-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("traffic_task")
public class TrafficTaskDO implements Serializable {

  private static final long serialVersionUID = 1L;

  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  private Long accountNo;

  private Long trafficId;

  private Integer useTimes;

  /** 锁定状态锁定LOCK 完成FINISH-取消CANCEL */
  private String lockState;

  /** 唯一标识 */
  private String messageId;

  private Date gmtCreate;

  private Date gmtModified;
}
